import url from '@/tool/index.js'
export const login = (code, inviteid = '') => { //
	return new Promise(resolve => {
		uni.request({
			url: url + '/api/user.user/third',
			method: 'GET',
			data: {
				inviteid: inviteid,
				code: code
			},
			success: (res) => resolve(res.data),
		});
	})
}
